export default {
  SET_TITLE: (state, str = "") => {
    // setTimeout(() => {
    state.title = str;
    // }, 2000);
  },
  [SET_COUNT](state, num = 1) {
    // setTimeout(() => {
    state.count += num;
    // }, 2000);
  },
  [SAY](state) {
    console.log(state.title);
  },
  [ADD](state, arg) {
    console.log(state.num1 + state.num2 + arg);
  },
};
